f=open("data.csv")
for line in f:
    line=line.strip("\n")
    ls=line.split(",")
    ls=ls[::-1]
    print(",".join(ls))
f.close